package PreDefinedObjects;
use strict;
use warnings;
use Data::Dumper;


use lib '/home/'.$ENV{USER}.'/djpp/core/model';
use Controller;

sub get404Controller
{
	my $ctl = new Controller(
		module 	=> "ErrorHandler",
		action	=> "error404", 
	);	
	
	return $ctl;
}

sub get503Controller
{
	my $ctl = new Controller(
		module 	=> "ErrorHandler",
		action	=> "error503", 
	);	
	
	return $ctl;
}

1;